#pragma once

#include <QWidget>
#include "ui_pagewidthset.h"

class PageWidthSet : public QWidget
{
	Q_OBJECT

public:
	PageWidthSet(float width, QWidget *parent = Q_NULLPTR);
	~PageWidthSet();

signals:
	void pageWidthChange(float w);
	void pageDefaultChange(float dirayFault, float artileFault);
private slots:

	void slot_ok();

private:
	Ui::PageWidthSet ui;

	int m_diaryWidth;

	int m_articleWidth;
};
